package com.roadjava.rbac.bean.req.role;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;


@Data
public class AssignAuthorityReq {
    /**
     * 角色id
     */
    @NotNull
    private Long roleId;
    /**
     * 权限id集合
     */
    @NotEmpty
    private List<Long> authorityIds;
}
